CredentialIssuanceConfiguration

data class CredentialIssuanceConfiguration(val redirectUri: String? = null, val autoTrustMobileCredentialIaca: Boolean = false)

Represents the configuration options for credential issuance.

Parameters

redirectUri

Used to redirect the user back to the app after authorization. It is required in the Authorization Code Flow. You can skip this parameter only if you are sure that the Pre-Authorization Code Flow will be used at all times for this SDK instance. You also need to register this URI within your app using the manifest placeholders. See: MATTR Learn - Claim a credential tutorial.

autoTrustMobileCredentialIaca

If true, the SDK will try to download and store the issuer's IACA certificate(s) during the credential issuance. Set to true if you trust the credential issuer(s) for any offer when calling retrieveCredentials. Defaults to false.

Constructors

Link copied to clipboard
constructor(redirectUri: String? = null, autoTrustMobileCredentialIaca: Boolean = false)

Properties

Link copied to clipboard
val autoTrustMobileCredentialIaca: Boolean = false
Link copied to clipboard
val redirectUri: String? = null